package com.yrh.utils;

import java.util.List;
/**
 * 分页查询数据
 * @author admin
 *
 */
public class PageDataUtil {
	private int pageNum;  //页码
	private Object search; //搜索信息
	private List<Integer> pages;  //页码号集合
	private List pageList;  //每页数据
	public PageDataUtil() {
		super();
	}
	
	public PageDataUtil(int pageNum, Object search, List<Integer> pages, List pageList) {
		super();
		this.pageNum = pageNum;
		this.search = search;
		this.pages = pages;
		this.pageList = pageList;
	}
	@Override
	public String toString() {
		return "PageDataUtil [pageNum=" + pageNum + ", search=" + search + ", pages=" + pages + ", pageList=" + pageList
				+ "]";
	}
	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	public Object getSearch() {
		return search;
	}
	public void setSearch(Object search) {
		this.search = search;
	}
	public List<Integer> getPages() {
		return pages;
	}
	public void setPages(List<Integer> pages) {
		this.pages = pages;
	}
	public List getPageList() {
		return pageList;
	}
	public void setPageList(List pageList) {
		this.pageList = pageList;
	}
	
	
	
}
